Console Configuration

After installing Logpoint, you can access the system through its console with the username li-admin. Either enter the default password changeme or make an SSH connection to access the system.

To make an SSH connection, you need to create and use an SSH pair for the li-admin user using the following steps:

  1. Create an SSH pair in Logpoint using the command:

ssh-keygen -t rsa
  1. Copy the public key to authorized keys using the command:

cat ~/.ssh/id_rsa.pub > ~/.ssh/authorized_keys
  1. Move the newly created private key to a remote machine. You can use SCP to do this:

scp ~/.ssh/id_rsa.pub <remote-machine-username>@<remote_machine_ip>:
  1. Change the permission of the private key file using the command:

chmod 400 ~/id_rsa
  1. You can now use SSH to connect to Logpoint from the remote machine.

ssh -i ~/id_rsa li-admin@<Logpoint_Server_IP>

You can change the default password using the passwd command.

Note

li-admin users can view the README.txt file in the home folder of their Logpoint.

The following LVM commands can be used by the li-admin users on a Logpoint AWS instance based on the Ext4 filesystem:

pvcreate

The pvcreate command initializes a Physical Volume for later use by the Logical Volume Manager (LVM). A physical volumne can be either a disk partition, a whole disk, a meta device, or a loopback file.

Syntax:

pvcreate <physical volume>

Example:

pvcreate /dev/sdc

The above example initializes the partition /dev/sdc for later use by the LVM.

vgextend

The vgextend command lets you add initialized physical volumes to an existing volume group to extend the group’s size. It also lets you re-add a physical volume missing due to a transient device failure, without re-initializing it.

Syntax:

vgextend <volume group> <physical volumes>

Example:

vgextend vg01 /dev/sdb /dev/sdc

The above example initializes the existing volume group vg01 with new physical volumes /dev/sdb/ and /dev/sdc.

lvextend

The lvextend command lets you extend the size of a logical volume. You can also extend the snapshots of logical volumes using the command.

Syntax:

lvextend <logical volumee> <physical volume>

Example:

lvextend +54 /dev/vg01/lvol01 /dev/sdb3

The above example extends the size of /dev/vg01/lvol01 by 54MB on /dev/sdb3. However, /dev/sdb3 must be a member of the volume group vg01.

resize2fs

The resize2fs command resizes the file system. You can use it to enlarge or shrink an unmounted file system and expand the size of a mounted file system.

Syntax:

resize2fs <device> <size>

Example:

resize2fs /dev/sdb1

Note

If you don’t specify a size, it defaults to the size of the partition.

For additional li-admin commands, refer to the Console Configuration section of the Install and Upgrade Guide.


Helpful?

We are glad this guide helped.


Please don't include any personal information in your comment

Contact Support